package com.sup.supplier.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.sup.common.annotation.Excel;
import com.sup.common.core.domain.BaseEntity;

/**
 * 供应商对象 supplier_table
 * 
 * @author ruoyi
 * @date 2025-02-21
 */
public class SupplierTable extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 供应商名字 */
    @Excel(name = "供应商名字")
    private String supName;

    /** 供应商地点 */
    @Excel(name = "供应商地点")
    private String supLocation;

    /** 供应商负责人 */
    @Excel(name = "供应商负责人")
    private String supHeadName;

    /** 供应商方面的联系电话 */
    @Excel(name = "供应商方面的联系电话")
    private String supPhone;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date supCreationTime;

    /** 创建人员id */
    @Excel(name = "创建人员id")
    private Long supCreatorId;

    /** 修改时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "修改时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date supModificationTime;

    /** 修改人员的id */
    @Excel(name = "修改人员的id")
    private Long supModifierId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setSupName(String supName) 
    {
        this.supName = supName;
    }

    public String getSupName() 
    {
        return supName;
    }
    public void setSupLocation(String supLocation) 
    {
        this.supLocation = supLocation;
    }

    public String getSupLocation() 
    {
        return supLocation;
    }
    public void setSupHeadName(String supHeadName) 
    {
        this.supHeadName = supHeadName;
    }

    public String getSupHeadName() 
    {
        return supHeadName;
    }
    public void setSupPhone(String supPhone) 
    {
        this.supPhone = supPhone;
    }

    public String getSupPhone() 
    {
        return supPhone;
    }
    public void setSupCreationTime(Date supCreationTime) 
    {
        this.supCreationTime = supCreationTime;
    }

    public Date getSupCreationTime() 
    {
        return supCreationTime;
    }
    public void setSupCreatorId(Long supCreatorId) 
    {
        this.supCreatorId = supCreatorId;
    }

    public Long getSupCreatorId() 
    {
        return supCreatorId;
    }
    public void setSupModificationTime(Date supModificationTime) 
    {
        this.supModificationTime = supModificationTime;
    }

    public Date getSupModificationTime() 
    {
        return supModificationTime;
    }
    public void setSupModifierId(Long supModifierId) 
    {
        this.supModifierId = supModifierId;
    }

    public Long getSupModifierId() 
    {
        return supModifierId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("supName", getSupName())
            .append("supLocation", getSupLocation())
            .append("supHeadName", getSupHeadName())
            .append("supPhone", getSupPhone())
            .append("supCreationTime", getSupCreationTime())
            .append("supCreatorId", getSupCreatorId())
            .append("supModificationTime", getSupModificationTime())
            .append("supModifierId", getSupModifierId())
            .toString();
    }
}
